MySQL5.7.34 開啟binlog 開啟binlog: 直接在mysql配置文件:/etc/my.cnf 下面追加 log-bin=mysql-binserver-id=1binlog_format=row 如下: ...